package com.yeyks.vip.dal.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 会员卡运营商服务商关系表
 * </p>
 *
 * @author yun
 * @since 2019-08-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="AccountVipSalerRelation对象", description="会员卡运营商服务商关系表")
public class AccountVipSalerRelation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "账号id")
    @TableField("account_id")
    private Integer accountId;

    @ApiModelProperty(value = "上级账号ID")
    @TableField("parent_id")
    private Integer parentId;

    @ApiModelProperty(value = "vip类型，1大V，2小V")
    @TableField("vip_type")
    private Integer vipType;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;


    public static final String ID = "id";

    public static final String ACCOUNT_ID = "account_id";

    public static final String PARENT_ID = "parent_id";

    public static final String VIP_TYPE = "vip_type";

    public static final String CREATE_TIME = "create_time";

}
